package com.lihua.service.impl;

import com.lihua.pojo.User;
import com.lihua.service.MessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author hs
 * @date 2022/1/18 10:08
 */
@Service
public class MessageServiceImpl implements MessageService {
    @Autowired
    private User user;

    public MessageServiceImpl(){

    }
    public String getMessage() {
        user.show();
        return "hello world";
    }
}
